package com.jy.rhin.infra.cda.dao.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.dao.ChanHouFSDao;
import com.jy.rhin.infra.cda.mapper.ChanHouFSMapper;
import com.jy.rhin.infra.cda.ycf.ChanHouCFFSVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChanHouFSDaoImpl implements ChanHouFSDao {
	@Resource
	private ChanHouFSMapper chanHouFSMapper;

	@Override
	public ChanHouCFFSVo getByBH(String fuWuJGBH, String chanHouFSJLBH) {
		QueryWrapper<ChanHouCFFSVo> queryWrapper = new QueryWrapper<ChanHouCFFSVo>();
		queryWrapper.eq("a.CHANHOUFSJLBH", chanHouFSJLBH);
		return chanHouFSMapper.getOne(queryWrapper);
	}

}
